package reflect;

import java.util.Arrays;

public class ArgsDemo {
    public static void main(String[] args) {
        doSome(1,"张三","里斯");
        doSome(2,"小爱","优优","qq");

    }

     static void doSome(int a,String... arg){
        System.out.println(arg.length);
        System.out.println(Arrays.toString(arg));
    }
}
